package cn.zymall.app.controller.page;

import cn.zymall.common.model.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xuxianda
 * @Description: 用户控制器
 * @date 2020/8/19 10:15
 * @Copyright
 * @return
 **/
@RestController
@RequestMapping("/user")
public class UserController {

    @PostMapping("/login")
    public User login(@RequestBody User user) {
        return new User();
    }

}
